/**
 * @Author: 焦质晔
 * @Date: 2019/6/20
 * @Last Modified by: mikey.zhaopeng
 * @Last Modified time: 2019-10-22 11:47:33
 */
import axios from '@/api/fetch';
import SERVER from '@/api/server';

// 查询
export const queryMaintionClaimReceipt = params => axios.get(`${SERVER.AUDI_CLAIM}/query/receipt/queryMaintionClaimReceipt`, { params });
// 新增
export const addMaintionClaimReceipt = params => axios.post(`${SERVER.AUDI_CLAIM}/query/receipt/addMaintionClaimReceipt`, params);
// 删除
export const delectMaintionClaimReceipt = params => axios.delete(`${SERVER.AUDI_CLAIM}/query/receipt/delectMaintionClaimReceipt`, { params });
// 查询新增年月日期
export const queryDate = params => axios.get(`${SERVER.DMSCLOUD_BASEDATA}/setting/getMonthSettleAfter`, { params });
// 服务-录入保养索赔发票
export const addMaintionClaimReceiptData = params => axios.post(`${SERVER.AUDI_CLAIM}/query/receipt/addMaintionClaimReceipt`, params);

